package com.tianfeng.huayi.mapper;

import com.tianfeng.huayi.entity.ComplaintManagement;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 匿名投诉信息Mapper接口
 * 
 * @author ruoyi
 * @date 2024-01-16
 */
@Mapper
public interface ComplaintManagementMapper {

    /**
     * 查询匿名投诉信息
     * 
     * @param complaintId 匿名投诉信息主键
     * @return 匿名投诉信息
     */
    public ComplaintManagement selectComplaintManagementByComplaintId(Long complaintId);

    /**
     * 查询匿名投诉信息列表
     * 
     * @param complaintManagement 匿名投诉信息
     * @return 匿名投诉信息集合
     */
    public List<ComplaintManagement> selectComplaintManagementList(ComplaintManagement complaintManagement);

    /**
     * 插入匿名投诉信息
     *
     * @param complaintManagement 匿名投诉信息
     * @return 结果
     */
    public int insertComplaintManagement(ComplaintManagement complaintManagement);


}
